package com.graph;

import java.awt.Color;
import java.io.Serializable;

abstract public class AbstractShape  implements Shape{
	String name;
	Color color;
	Point center;

	public AbstractShape(Point center) {
		super();
		this.center = center;
	}

	abstract public double area();

	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}

	public Color getColor() {
		return color;
	}

	public void setColor(Color color) {
		this.color = color;
	}

	public Point getCenter() {
		return center;
	}

	public void setCenter(Point center) {
		this.center = center;
	}

	static public void main(String[] ss) {

	}
}
